package com.recruit.common.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 职位动态走势图一条曲线是系统职位总数,其他曲线是各个企业的
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class PosDongCtDO extends BaseModel {

    /**
     * 企业名称
     */
    private String title;

    /**
     * 时间
     */
    @JsonFormat(pattern="yyyy",timezone="GMT+8")
    private Integer dt;

    /**
     * 企业数
     */
    private Integer num;


    public PosDongCtDO() {}

    public PosDongCtDO(String title, Integer dt, Integer num) {
        this.title = title;
        this.dt = dt;
        this.num = num;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getDt() {
        return dt;
    }

    public void setDt(Integer dt) {
        this.dt = dt;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }
}
